home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
language
/
embedded
/
mcu332
/
332-101.arc
/
A.HLP
< prev
next >
Wrap
Text File
|
1989-11-01
|
1KB
|
28 lines
Single Line Assembler ADDRESSING MODES.
Note: This assembler is "Dumb" in it's handling of Address modes
5 and 6; it makes no attempt to decide "what you meant", but only
does "what you say". Also sub-mode 7,2 behaves in a manner similar
to mode 5; sub-mode 7,3 behaves in a manner similiar to mode 6.
Mode 5 appears as a subset of mode 6 where the index register has
been suppressed. That is, if the index register is ommited from the
source code line, mode 5 and mode 6 are indistingushable. Some
assemblers will always choose the shorter form, mode 5 in this
case. This, however, prevents you from from selecting mode 6 with
index register suppression. This assembler requires you to suppress
a register using the "Z" prefix. You suppress a register
by prepending a "Z" to the register name. The following are
examples:
($1234,a2,za0) Suppress the Index register.
($1234,za3,d7) Suppress the Base register.
($1234,zpc,a0) Suppress the PC register.
($1234,a2,za0) Mode 6 (with register suppress).
($1234,a2) Mode 5 (with no index register).
%END